<!doctype html>
<html lang="en" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" th:href="@{/favicon.ico}">

    <title>登录</title>

    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>
<!--    顶部栏-->
    <nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0" th:fragment="top">
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">[[${session.loginUser}]]</a>
    <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap">
            <a class="nav-link" th:href="@{/user/logout}">注销</a>
        </li>
    </ul>
</nav>
<!--    侧边栏-->
    <nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="side">
        <div class="sidebar-sticky">
            <ul class="nav flex-column">
                <li class="nav-item">
                    <a th:class="${active == 'main.html'?'nav-link active':'nav-link'}" th:href="@{/main.html}">
                        <span data-feather="home"></span>
                        首页 <span class="sr-only">(current)</span>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/updatePer}">
                        <span data-feather="file"></span>
                        个人信息管理
                    </a>
                </li>
                <li class="nav-item">
                    <a th:class="${active == 'list.html'?'nav-link active':'nav-link'}" th:href="@{/emps}">
                        <span data-feather="users"></span>
                        员工管理
                    </a>
                </li>
                <li class="nav-item">
                    <a th:class="${active == 'dep_list.html'?'nav-link active':'nav-link'}" th:href="@{/deps}">
                        <span data-feather="shopping-cart"></span>
                        部门管理
                    </a>
                </li>
                <li class="nav-item">
                    <a th:class="${active == 'job_list.html'?'nav-link active':'nav-link'}" th:href="@{/jobs}">
                        <span data-feather="bar-chart-2"></span>
                        职位管理
                    </a>
                </li>
                <li class="nav-item">
                    <a th:class="${active == 'acc_list.html'?'nav-link active':'nav-link'}" th:href="@{/accs}">
                        <span data-feather="layers"></span>
                        账号管理
                    </a>
                </li>
            </ul>

            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
                <span>记录管理</span>
                <a class="d-flex align-items-center text-muted" href="#">
                    <span data-feather="plus-circle"></span>
                </a>
            </h6>
            <ul class="nav flex-column mb-2">
                <li class="nav-item">
                    <a th:class="${active == 'att_list.html'?'nav-link active':'nav-link'}" th:href="@{/atts}">
                        <span data-feather="file-text"></span>
                        考勤记录
                    </a>
                </li>
                <li class="nav-item">
                    <<a th:class="${active == 're_list.html'?'nav-link active':'nav-link'}" th:href="@{/res}">
                        <span data-feather="file-text"></span>
                        奖惩记录
                    </a>
                </li>
                <li class="nav-item">
                    <a th:class="${active == 'tr_list.html'?'nav-link active':'nav-link'}" th:href="@{/trs}">
                        <span data-feather="file-text"></span>
                        培训记录
                    </a>
                </li>
            </ul>
        </div>
    </nav>



</body>
</html>


